package com.google.coffeeshop.dao.impl;

import java.util.List;

import com.google.coffeeshop.dao.OrderLineDAO;
import com.google.coffeeshop.entity.OrderLineDTO;


public class OrderLineDAOImpl extends AbstractBaseDAOImpl<OrderLineDTO, Long> implements OrderLineDAO {

	@Override
	public void saveAll(List<OrderLineDTO> orderLineDTO) {
		if (orderLineDTO != null && !orderLineDTO.isEmpty()) {
			for (OrderLineDTO orderLine : orderLineDTO) {
				save(orderLine);
			}
		}
	}

}
